<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title> </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style type="text/css">
   .table_border{  
    border: solid 1px #B4B4B4;  
    border-collapse: collapse;       
   }  
   .table_border tr th{
    border: solid 1px #B4B4B4;  
  }  
  .table_border tr td{  
    border: solid 1px #B4B4B4;  
  } 

 </style>	
	<script language="javascript"> 
	function checkPublishPosts()
    {
	if((PublishPosts.title.value!="")&&(PublishPosts.content.value!=""))
	{
		return true;
	}
	else	
	{		
		 alert("标题和内容不能为空!");
         return false;
	}
	
}

</script>
	
</head>
<body>
 <form  action="__APP__/News/issue" name="PublishPosts" method="post" onsubmit="return checkPublishPosts()">
 <div style=" margin-top:20px;margin-left:10px;">
 <table> 
 <tr>
  <u1>欢迎<?php echo (session('username')); ?>进入会员中心 </u1> <a href='__APP__/Index/Index' target='_top'>返回首页</a> &nbsp;&nbsp;&nbsp;&nbsp;  <a href='__APP__/Login/this_exit' target='_top'>退出</a>
  <td></td>
 </tr>
 </table>
 
 <td>发布贴子：</td></br>
 <table class='table_border'  border='0' id='high_light'   >
<tr>
<td>
标题：
</td>
<td>
<input   type="text" name="title" size="40" />
</td>
</tr>

<tr>
<td>
内容：
</td>
<td>
<textarea name="content" cols="50" rows="5"></textarea>
</td>
</tr>

<tr>
<td>
</td>
<td>
<input type="submit" value="提交" /> &nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value="重 写"> 
</td>
</tr>
 
</table>

 </div>
</form>
</body>
</html>